package com.kede.api.level.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 任务发布表查询请求信息
 * 2024-02-04 11:56:21
 *
 * @author makejava
 * @version 1.0.0
 **/
@Data
@ToString
@NoArgsConstructor
@ApiModel(value = "SyMissionPublishDTO", description = "任务发布表查询请求信息")
public class SyMissionPublishDTO {

    /**
     * 发布日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "发布日期", name = "publishDate")
    private Date publishDate;

    /**
     * 任务模板id
     */
    @ApiModelProperty(value = "任务模板id", name = "tempId")
    private Integer tempId;

    /**
     * 任务完成后的奖励分数
     */
    @ApiModelProperty(value = "任务完成后的奖励分数", name = "score")
    private Integer score;

    /**
     * 1正常 0异常
     */
    @ApiModelProperty(value = "1正常 0异常", name = "status")
    private Integer status;

    /**
     * 任务截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "任务截止时间", name = "endTime")
    private Date endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "${column.comment}", name = "created")
    private Date created;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "${column.comment}", name = "updated")
    private Date updated;
    @ApiModelProperty(value = "${column.comment}", name = "isDel")
    private String isDel;
    @ApiModelProperty(value = "执行次数", name = "times")
    private String times;
}

